﻿
using System;
namespace Gx.Model
{
    [Serializable]
    public partial class E_EmpClassInfo : ClassInfo
    {
        private long _id;
        private int _empid;
        private int _depid;
        private DateTime _workdate;
        private int _classid;
        public long Id
        {
            get
            {
                return _id;
            }
            set { _id = value; }
        }
        public int EmpId
        {
            get
            {
                return _empid;
            }
            set { _empid = value; }
        }
        public int DepId
        {
            get
            {
                return _depid;
            }
            set { _depid = value; }
        }
        public DateTime WorkDate
        {
            get
            {
                if (_workdate == DateTime.MinValue)
                {
                    return DateTime.Parse("1911-01-01");
                }
                return _workdate;
            }
            set { _workdate = value; }
        }
        public int ClassId
        {
            get
            {
                return _classid;
            }
            set { _classid = value; }
        }
    }



    public partial class E_EmpClassInfo
    {
        /// <summary>
        /// 班次所在的天数
        /// </summary>
        public int ClassDay { get; set; }

        /// <summary>
        /// 员工姓名
        /// </summary>
        public string EmpName { get; set; }
    }

}
